namespace Battle.TimelineLog
{
    /// <summary>
    /// 战斗中的时间轴
    /// </summary>
    public class BattleTimeLine
    {

        public int CrtTime { get; set; }
        public int TotalTime { get; protected set; }
        public BattleTimeLine() { }
        public void Init(int totalTime)
        {
            TotalTime = totalTime;
            CrtTime = 0;
        }

        public void InsertActive() { }
        public void RemoveActive() { }

        public void SetWinner(int side)
        {
            if (side == 1)
            {
                // 胜利者是自己,则胜利
            }
            else
            {
                // 胜利者是对手，则失败
            }
        }
        public string ToJson()
        {
            return "{}";
        }

    }
}